package ui.adapter;

import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.wyz.troika_test.R;

/**
 * Created by 10153 on 2018/5/9.
 */

public class AdviceRecyclerAdapter extends RecyclerView.Adapter<AdviceRecyclerAdapter.MyViewHolder> {
    
    Context mContext;
    
    public AdviceRecyclerAdapter(Context context) {
        this.mContext = context;
    }
    
    @NonNull
    @Override
    public MyViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
        View view = LayoutInflater.from(mContext).inflate(R.layout.contain_recycler_adv, parent, false);
        return new MyViewHolder(view);
    }
    
    @Override
    public void onBindViewHolder(@NonNull MyViewHolder holder, int position) {
    
    }
    
    @Override
    public int getItemCount() {
        return 3;
    }
    
    class MyViewHolder extends RecyclerView.ViewHolder{
    
        public MyViewHolder(View itemView) {
            super(itemView);
        }
    }
    
}
